
function bindRefreshPost(fid, tid, postDest, cmtDest) {
	utils.bindPullRefresh(function(onDone) {
        window.refreshWait = 1; // post(含hot-hosts) + hot-reply + replies，供3个请求
        window.startCmt = 0;
        renderPost(tid, postDest);
        // refreshComments(tid, cmtDest);
	});
}

function trySetRefreshDone() {
    if (window.refreshWait > 0) {
        window.refreshWait--;

        if (0 == window.refreshWait) {
            utils.setRefreshDone();
        }
    }
}
